package cn.miju.admin.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <pre>
 * 用户注册
 * </pre>
 *
 * @author zhuming
 * @version 1.0.0
 * @since 2023-03-30 16:14
 */
@Data
@ApiModel
public class RegisterInVO {
    /**
     * 账号
     */
    @ApiModelProperty(value = "账号", required = true)
    @NotBlank(message = "传入账号不能为空")
    private String accountNo;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", required = true)
    @NotBlank(message = "传入密码不能为空")
    private String password;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名", required = true)
    @NotBlank(message = "传入姓名不能为空")
    private String username;
    /**
     * 性别[0：保密 1：男 2：女]
     */
    @ApiModelProperty(value = "性别[0：保密 1：男 2：女]", required = true)
    @NotBlank(message = "传入性别不能为空")
    private String sex;
    /**
     * 个性签名
     */
    @ApiModelProperty(value = "个性签名")
    private String signature;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "传入手机号不能为空")
    private String mobile;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", required = true)
    @NotBlank(message = "传入邮箱不能为空")
    private String email;
}
